Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / users / {id} / consents / {client}

Revoke consent for particular client

Path parameters:
realm - realm name (not id!)
id -
client -

Resource Methods
Method Summary
NameDescription
DELETE /admin/realms/{realm}/users/{id}/consents/{client}Revoke consent for particular client

Method Detail

DELETE /admin/realms/{realm}/users/{id}/consents/{client}

Revoke consent for particular client

HTTP Example:
DELETE /admin/realms/{realm}/users/{id}/consents/{client}
API Example:

UsersResource.revokeConsent({'realm': /* name realm name (not id!) */,
  'id': /* id */,
  'client': /* clientId */});

Output:
void

Keycloak REST Services 1.5.0-Final